package com.qingmeng.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BlogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BlogExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdIsNull() {
            addCriterion("blog_publisher_id is null");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdIsNotNull() {
            addCriterion("blog_publisher_id is not null");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdEqualTo(Long value) {
            addCriterion("blog_publisher_id =", value, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdNotEqualTo(Long value) {
            addCriterion("blog_publisher_id <>", value, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdGreaterThan(Long value) {
            addCriterion("blog_publisher_id >", value, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdGreaterThanOrEqualTo(Long value) {
            addCriterion("blog_publisher_id >=", value, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdLessThan(Long value) {
            addCriterion("blog_publisher_id <", value, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdLessThanOrEqualTo(Long value) {
            addCriterion("blog_publisher_id <=", value, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdIn(List<Long> values) {
            addCriterion("blog_publisher_id in", values, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdNotIn(List<Long> values) {
            addCriterion("blog_publisher_id not in", values, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdBetween(Long value1, Long value2) {
            addCriterion("blog_publisher_id between", value1, value2, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogPublisherIdNotBetween(Long value1, Long value2) {
            addCriterion("blog_publisher_id not between", value1, value2, "blogPublisherId");
            return (Criteria) this;
        }

        public Criteria andBlogTitleIsNull() {
            addCriterion("blog_title is null");
            return (Criteria) this;
        }

        public Criteria andBlogTitleIsNotNull() {
            addCriterion("blog_title is not null");
            return (Criteria) this;
        }

        public Criteria andBlogTitleEqualTo(String value) {
            addCriterion("blog_title =", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleNotEqualTo(String value) {
            addCriterion("blog_title <>", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleGreaterThan(String value) {
            addCriterion("blog_title >", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleGreaterThanOrEqualTo(String value) {
            addCriterion("blog_title >=", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleLessThan(String value) {
            addCriterion("blog_title <", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleLessThanOrEqualTo(String value) {
            addCriterion("blog_title <=", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleLike(String value) {
            addCriterion("blog_title like", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleNotLike(String value) {
            addCriterion("blog_title not like", value, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleIn(List<String> values) {
            addCriterion("blog_title in", values, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleNotIn(List<String> values) {
            addCriterion("blog_title not in", values, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleBetween(String value1, String value2) {
            addCriterion("blog_title between", value1, value2, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogTitleNotBetween(String value1, String value2) {
            addCriterion("blog_title not between", value1, value2, "blogTitle");
            return (Criteria) this;
        }

        public Criteria andBlogContextIsNull() {
            addCriterion("blog_context is null");
            return (Criteria) this;
        }

        public Criteria andBlogContextIsNotNull() {
            addCriterion("blog_context is not null");
            return (Criteria) this;
        }

        public Criteria andBlogContextEqualTo(String value) {
            addCriterion("blog_context =", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextNotEqualTo(String value) {
            addCriterion("blog_context <>", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextGreaterThan(String value) {
            addCriterion("blog_context >", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextGreaterThanOrEqualTo(String value) {
            addCriterion("blog_context >=", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextLessThan(String value) {
            addCriterion("blog_context <", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextLessThanOrEqualTo(String value) {
            addCriterion("blog_context <=", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextLike(String value) {
            addCriterion("blog_context like", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextNotLike(String value) {
            addCriterion("blog_context not like", value, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextIn(List<String> values) {
            addCriterion("blog_context in", values, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextNotIn(List<String> values) {
            addCriterion("blog_context not in", values, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextBetween(String value1, String value2) {
            addCriterion("blog_context between", value1, value2, "blogContext");
            return (Criteria) this;
        }

        public Criteria andBlogContextNotBetween(String value1, String value2) {
            addCriterion("blog_context not between", value1, value2, "blogContext");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNull() {
            addCriterion("publish_time is null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIsNotNull() {
            addCriterion("publish_time is not null");
            return (Criteria) this;
        }

        public Criteria andPublishTimeEqualTo(Date value) {
            addCriterion("publish_time =", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotEqualTo(Date value) {
            addCriterion("publish_time <>", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThan(Date value) {
            addCriterion("publish_time >", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("publish_time >=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThan(Date value) {
            addCriterion("publish_time <", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeLessThanOrEqualTo(Date value) {
            addCriterion("publish_time <=", value, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeIn(List<Date> values) {
            addCriterion("publish_time in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotIn(List<Date> values) {
            addCriterion("publish_time not in", values, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeBetween(Date value1, Date value2) {
            addCriterion("publish_time between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andPublishTimeNotBetween(Date value1, Date value2) {
            addCriterion("publish_time not between", value1, value2, "publishTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberIsNull() {
            addCriterion("blog_look_number is null");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberIsNotNull() {
            addCriterion("blog_look_number is not null");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberEqualTo(Integer value) {
            addCriterion("blog_look_number =", value, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberNotEqualTo(Integer value) {
            addCriterion("blog_look_number <>", value, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberGreaterThan(Integer value) {
            addCriterion("blog_look_number >", value, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("blog_look_number >=", value, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberLessThan(Integer value) {
            addCriterion("blog_look_number <", value, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberLessThanOrEqualTo(Integer value) {
            addCriterion("blog_look_number <=", value, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberIn(List<Integer> values) {
            addCriterion("blog_look_number in", values, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberNotIn(List<Integer> values) {
            addCriterion("blog_look_number not in", values, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberBetween(Integer value1, Integer value2) {
            addCriterion("blog_look_number between", value1, value2, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLookNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("blog_look_number not between", value1, value2, "blogLookNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberIsNull() {
            addCriterion("blog_collection_number is null");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberIsNotNull() {
            addCriterion("blog_collection_number is not null");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberEqualTo(Integer value) {
            addCriterion("blog_collection_number =", value, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberNotEqualTo(Integer value) {
            addCriterion("blog_collection_number <>", value, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberGreaterThan(Integer value) {
            addCriterion("blog_collection_number >", value, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("blog_collection_number >=", value, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberLessThan(Integer value) {
            addCriterion("blog_collection_number <", value, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberLessThanOrEqualTo(Integer value) {
            addCriterion("blog_collection_number <=", value, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberIn(List<Integer> values) {
            addCriterion("blog_collection_number in", values, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberNotIn(List<Integer> values) {
            addCriterion("blog_collection_number not in", values, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberBetween(Integer value1, Integer value2) {
            addCriterion("blog_collection_number between", value1, value2, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogCollectionNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("blog_collection_number not between", value1, value2, "blogCollectionNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberIsNull() {
            addCriterion("blog_like_number is null");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberIsNotNull() {
            addCriterion("blog_like_number is not null");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberEqualTo(Integer value) {
            addCriterion("blog_like_number =", value, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberNotEqualTo(Integer value) {
            addCriterion("blog_like_number <>", value, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberGreaterThan(Integer value) {
            addCriterion("blog_like_number >", value, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("blog_like_number >=", value, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberLessThan(Integer value) {
            addCriterion("blog_like_number <", value, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberLessThanOrEqualTo(Integer value) {
            addCriterion("blog_like_number <=", value, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberIn(List<Integer> values) {
            addCriterion("blog_like_number in", values, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberNotIn(List<Integer> values) {
            addCriterion("blog_like_number not in", values, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberBetween(Integer value1, Integer value2) {
            addCriterion("blog_like_number between", value1, value2, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andBlogLikeNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("blog_like_number not between", value1, value2, "blogLikeNumber");
            return (Criteria) this;
        }

        public Criteria andDeleteTagIsNull() {
            addCriterion("delete_tag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteTagIsNotNull() {
            addCriterion("delete_tag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteTagEqualTo(Integer value) {
            addCriterion("delete_tag =", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagNotEqualTo(Integer value) {
            addCriterion("delete_tag <>", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagGreaterThan(Integer value) {
            addCriterion("delete_tag >", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_tag >=", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagLessThan(Integer value) {
            addCriterion("delete_tag <", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_tag <=", value, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagIn(List<Integer> values) {
            addCriterion("delete_tag in", values, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagNotIn(List<Integer> values) {
            addCriterion("delete_tag not in", values, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagBetween(Integer value1, Integer value2) {
            addCriterion("delete_tag between", value1, value2, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andDeleteTagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_tag not between", value1, value2, "deleteTag");
            return (Criteria) this;
        }

        public Criteria andBlogInfoIsNull() {
            addCriterion("blog_info is null");
            return (Criteria) this;
        }

        public Criteria andBlogInfoIsNotNull() {
            addCriterion("blog_info is not null");
            return (Criteria) this;
        }

        public Criteria andBlogInfoEqualTo(String value) {
            addCriterion("blog_info =", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoNotEqualTo(String value) {
            addCriterion("blog_info <>", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoGreaterThan(String value) {
            addCriterion("blog_info >", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoGreaterThanOrEqualTo(String value) {
            addCriterion("blog_info >=", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoLessThan(String value) {
            addCriterion("blog_info <", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoLessThanOrEqualTo(String value) {
            addCriterion("blog_info <=", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoLike(String value) {
            addCriterion("blog_info like", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoNotLike(String value) {
            addCriterion("blog_info not like", value, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoIn(List<String> values) {
            addCriterion("blog_info in", values, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoNotIn(List<String> values) {
            addCriterion("blog_info not in", values, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoBetween(String value1, String value2) {
            addCriterion("blog_info between", value1, value2, "blogInfo");
            return (Criteria) this;
        }

        public Criteria andBlogInfoNotBetween(String value1, String value2) {
            addCriterion("blog_info not between", value1, value2, "blogInfo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}